package com.ruoyi.pack.dto;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * 签名数据对象
 * 对应JSON中的signature节点
 *
 * @author ruoyi
 * @date 2024-01-01
 */
public class SignatureData {
    
    /** 随机串 */
    private String nonce;
    
    /** 签名 */
    private String sign;
    
    /** 时间戳 */
    @JsonProperty("timeStamp")
    private String timeStamp;

    // Getters and Setters
    public String getNonce() {
        return nonce;
    }

    public void setNonce(String nonce) {
        this.nonce = nonce;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public String getTimeStamp() {
        return timeStamp;
    }

    public void setTimeStamp(String timeStamp) {
        this.timeStamp = timeStamp;
    }

    @Override
    public String toString() {
        return "SignatureData{" +
                "nonce='" + nonce + '\'' +
                ", sign='" + sign + '\'' +
                ", timeStamp='" + timeStamp + '\'' +
                '}';
    }
}
